Linker Emulation Selection

Contents|Index|Previous
Linker emulation selection

A linker emulation is a personality of the linker, giving the linker default values for the other aspects of the target system.

In particular, it consists of the linker script, the target and several hook functions (which are run at certain stages of the linking process to do special things that some targets require).

The command to list valid linker emulation values is ld -V.

Sample values: ‘hp300bsd’, ‘mipslit’, ‘sun4’.

Ways to specify:

- command line option, -m (see Command line options in Using ld)
- environment variable, LDEMULATION
- compiled-in DEFAULT_EMULATION from Makefile which comes from EMUL in ‘config/target.mt’

Top|Contents|Index|Previous